﻿@{
    Layout = null;
    decimal CYear = ViewData["CYear"] == null ? 0 : decimal.Parse(ViewData["CYear"].ToString());
    decimal CMonth = ViewData["CMonth"] == null ? 0 : decimal.Parse(ViewData["CMonth"].ToString());
}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>鄞州区财政局::电子绩效台帐系统</title>
@if (false)
  {
        <script src="../../../../Scripts/jquery-vsdoc.js" type="text/javascript"></script>
        <script src="../../../../Scripts/ASPxScriptIntelliSense.js" type="text/javascript"></script>
  }
    <link href="@Url.Content("~/Content/style.css", true)" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/Site.css", true)" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/rzcss.css", true)" rel="stylesheet" type="text/css" />

    <script src="@Url.Content("~/Scripts/json2.js", true)" type="text/javascript"></script>

    <script src="@Url.Content("~/Scripts/jquery.min.js", true)" type="text/javascript"></script>

    <script src="@Url.Content("~/Scripts/FloatDiv.js", true)" type="text/javascript"></script>

    <script src="@Url.Content("~/Scripts/regex.js", true)" type="text/javascript"></script>

    <script src="@Url.Content("~/Scripts/PageCommon.js", true)" type="text/javascript"></script>

    <script src="@Url.Content("~/Common/GetRootPath.ashx", true)" type="text/javascript"></script>

    <script src="@Url.Content("~/Fckeditor/fckeditor.js", true)" type="text/javascript"></script>

    @Html.DevExpress().GetStyleSheets(

        new StyleSheet { ExtensionType = ExtensionType.ListBox, Theme = DevExpressHelper.Theme }
)
    @Html.DevExpress().GetScripts(
        new Script { ExtensionType = ExtensionType.ListBox }
)
    <script type="text/javascript">
        var jsCYear = '@CYear';
        var jsCMonth = '@CMonth';
    </script>
    <script type="text/javascript">
        function MonthChange(obj) {
            var month = $("#hidmonth").val();
            var year = $("#hidyear").val();       
            switch (obj) {
                case "prev":
                    {
                        month--;
                        break;
                    }
                case "this":
                    {
                        //本月  
                        var myDate = new Date();
                        month = jsCMonth;
                        year = jsCYear;
                        break;
                    }
                case "next":
                    {
                        month++;
                        break;
                    }
            }
            
            $.ajax({
                type: "POST",
                url: rootPath + "/Admin/MonthPlanSummary/NoMonthPlanSummaryList",
                data: { year: year, month: month },
                success: function (result) {
                    window.location.href = rootPath + "/Admin/MonthPlanSummary/NoMonthPlanSummaryList?year=" + year + "&month=" + month;
                }
            });

        }    
    </script>
</head>
<body>
	<div class="container">
    	<div class="header">
        	<div class="header_top">
            	<div class="header_name">
            	<span class="h1">科室未按时上报或审核工作计划记录</span>
                <span>鄞州区财政局电子绩效台帐系统是一个"亮帐"平台</span>
            	</div>
            	<div class="header_time">
                <span><b>@ViewData["year"].ToString()</b>年</span>
                <span><a href="#" onclick="MonthChange('prev')">上月</a>
                      <a href="#" onclick="MonthChange('this')">本月</a>
                      <a href="#" onclick="MonthChange('next')">下月</a>
                </span>
                </div>
            </div>
            
            <div class="header_nav">
                	@*权限分配*@
                    @if (ViewData["strSecond"].ToString() == "Y")
                    {
                	<li><span><img src="@Url.Content("~/Content/images/nav04.png", true)"></span><a href="@Url.Action("NoMonthPlanSummaryList", "MonthPlanSummary")" target="_blank">工作计划未上报人员清单</a></li>
                    }
                    @if (ViewData["strFirst"].ToString() == "Y")
                    {
                    <li><span><img src="@Url.Content("~/Content/images/nav03.png", true)"></span><a href="@Url.Action("AcDeptTimesList", "MonthPlanSummary")" target="_blank">科室应扣实际次数</a></li>
                    }
                @*权限分配*@
                    <li><span><img src="@Url.Content("~/Content/images/nav02.gif", true)"></span>
                        <a href="@Url.Action("MonthPlanSummaryAdd", "MonthPlanSummary", new { emplNo = ViewData["emplNo"].ToString() })" target="_blank">计划总结录入</a></li>
                	<li><span><img src="@Url.Content("~/Content/images/nav01.gif", true)"></span><a href="/" target="_blank">返回局首页</a></li>
            </div>
        	
        </div>
        
        <div class="main">
        	<div class="wsb">
            <table width="960" border="1" >
  <tr>
    <td colspan="2" height="40" align="center" class="font14 fontbold">@ViewData["month"].ToString()月份</td>
    </tr>

    <tr>
    <td width="200" class="font14 fontbold" align="center">本月工作总结未按时上报<br />(共 @ViewData["countS"].ToString() 人)</td>
    <td width="791">
    <table width="100%" class="wsb_table2">
     @Html.Raw(ViewData["strTableS"].ToString())
    </table>
    </td>
  </tr>

  <tr>
    <td width="200" class="font14 fontbold" align="center">下月工作计划未按时上报<br />(共 @ViewData["countP"].ToString() 人)</td>
    <td width="791">
    <table width="100%" class="wsb_table2">
     @Html.Raw(ViewData["strTableP"].ToString())
    </table>
    </td>
  </tr>

</table>
            </div>
        </div>
    
    </div>

                @Html.Hidden("hidyear", ViewData["year"])
                @Html.Hidden("hidmonth", ViewData["month"])
</body>
</html>






